#include <iostream>
#include <cmath>
using namespace std;

int main()
{
  cout << max(5, 10) << endl;
  cout << min(5, 10) << endl;
  cout << sqrt(64) << endl;
  cout << round(2.6) << endl;
  cout << log(2) << endl;

  cout << "abs(x)"
       << " Returns the absolute value of x " << abs(-5) << endl;
  cout << "acos(x)"
       << " Returns the arccosine of x " << acos(0.5) << endl;
  cout << "asin(x)"
       << " Returns the arcsine of x " << asin(0.5) << endl;
  cout << "atan(x)"
       << " Returns the arctangent of x " << atan(5) << endl;
  cout << "cbrt(x)"
       << " Returns the cube root of x " << cbrt(5) << endl;
  cout << "ceil(x)"
       << " Returns the value of x rounded up to its nearest integer " << ceil(5.6) << endl;
  cout << "cos(x)"
       << " Returns the cosine of x " << cos(5) << endl;
  cout << "cosh(x)"
       << " Returns the hyperbolic cosine of x " << cosh(5) << endl;
  cout << "exp(x)"
       << " Returns the value of Ex" << exp(5) << endl;
  cout << "expm1(x)"
       << " Returns ex -1" << expm1(5) << endl;
  cout << "fabs(x)"
       << " Returns the absolute value of a floating x " << fabs(5) << endl;
  cout << "fdim(x, y)"
       << " Returns the positive difference between x and y " << fdim(5, 3) << endl;
  cout << "floor(x)"
       << " Returns the value of x rounded down to its nearest integer " << floor(5) << endl;
  cout << "hypot(x, y)"
       << " Returns sqrt(x2 +y2) without intermediate overflow or underflow " << hypot(5, 3) << endl;
  cout << "fma(x, y, z)"
       << " Returns x*y+z without losing precision " << fma(5, 3, 2) << endl;
  cout << "fmax(x, y)"
       << " Returns the highest value of a floating x and y " << fmax(5, 3) << endl;
  cout << "fmin(x, y)"
       << " Returns the lowest value of a floating x and y " << fmin(5, 3) << endl;
  cout << "fmod(x, y)"
       << " Returns the floating point remainder of x/y " << fmod(5, 3) << endl;
  cout << "pow(x, y)"
       << " Returns the value of x to the power of y " << pow(5, 3) << endl;
  cout << "sin(x)"
       << " Returns the sine of x (x is in radians) " << sin(5) << endl;
  cout << "sinh(x)"
       << " Returns the hyperbolic sine of a double value " << sinh(5) << endl;
  cout << "tan(x)"
       << " Returns the tangent of an angle " << tan(5) << endl;
  cout << "tanh(x)"
       << " Returns the hyperbolic tangent of a double value " << tanh(5) << endl;
  return 0;
}
